package demo3;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wx
 * Date: 2023-08-16
 * Time: 11:24
 */
public class Test {

    static class Testdemo implements ITEST{
        @Override
        public void TesaA() {
            System.out.println("重写TesaA()");
        }

        @Override
        public void defaultMethod() {
            System.out.println("重写defaultMethod()");
        }
    }
    public static void main(String[] args) {
        ITEST.teststatic();
        ITEST testdemo = new Testdemo();
        testdemo.defaultMethod();




    }
}
